package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YgUserBargainExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgUserBargainExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Long value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Long value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Long value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Long value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Long value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Long value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Long> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Long> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Long value1, Long value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Long value1, Long value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNull() {
            addCriterion("sku_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNotNull() {
            addCriterion("sku_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuIdEqualTo(Long value) {
            addCriterion("sku_id =", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotEqualTo(Long value) {
            addCriterion("sku_id <>", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThan(Long value) {
            addCriterion("sku_id >", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sku_id >=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThan(Long value) {
            addCriterion("sku_id <", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThanOrEqualTo(Long value) {
            addCriterion("sku_id <=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIn(List<Long> values) {
            addCriterion("sku_id in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotIn(List<Long> values) {
            addCriterion("sku_id not in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdBetween(Long value1, Long value2) {
            addCriterion("sku_id between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotBetween(Long value1, Long value2) {
            addCriterion("sku_id not between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNull() {
            addCriterion("product_price is null");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNotNull() {
            addCriterion("product_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductPriceEqualTo(BigDecimal value) {
            addCriterion("product_price =", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_price <>", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThan(BigDecimal value) {
            addCriterion("product_price >", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_price >=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThan(BigDecimal value) {
            addCriterion("product_price <", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_price <=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceIn(List<BigDecimal> values) {
            addCriterion("product_price in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_price not in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_price between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_price not between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andBargainIdIsNull() {
            addCriterion("bargain_id is null");
            return (Criteria) this;
        }

        public Criteria andBargainIdIsNotNull() {
            addCriterion("bargain_id is not null");
            return (Criteria) this;
        }

        public Criteria andBargainIdEqualTo(Long value) {
            addCriterion("bargain_id =", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdNotEqualTo(Long value) {
            addCriterion("bargain_id <>", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdGreaterThan(Long value) {
            addCriterion("bargain_id >", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdGreaterThanOrEqualTo(Long value) {
            addCriterion("bargain_id >=", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdLessThan(Long value) {
            addCriterion("bargain_id <", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdLessThanOrEqualTo(Long value) {
            addCriterion("bargain_id <=", value, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdIn(List<Long> values) {
            addCriterion("bargain_id in", values, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdNotIn(List<Long> values) {
            addCriterion("bargain_id not in", values, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdBetween(Long value1, Long value2) {
            addCriterion("bargain_id between", value1, value2, "bargainId");
            return (Criteria) this;
        }

        public Criteria andBargainIdNotBetween(Long value1, Long value2) {
            addCriterion("bargain_id not between", value1, value2, "bargainId");
            return (Criteria) this;
        }

        public Criteria andTargetPriceIsNull() {
            addCriterion("target_price is null");
            return (Criteria) this;
        }

        public Criteria andTargetPriceIsNotNull() {
            addCriterion("target_price is not null");
            return (Criteria) this;
        }

        public Criteria andTargetPriceEqualTo(BigDecimal value) {
            addCriterion("target_price =", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceNotEqualTo(BigDecimal value) {
            addCriterion("target_price <>", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceGreaterThan(BigDecimal value) {
            addCriterion("target_price >", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("target_price >=", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceLessThan(BigDecimal value) {
            addCriterion("target_price <", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("target_price <=", value, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceIn(List<BigDecimal> values) {
            addCriterion("target_price in", values, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceNotIn(List<BigDecimal> values) {
            addCriterion("target_price not in", values, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("target_price between", value1, value2, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andTargetPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("target_price not between", value1, value2, "targetPrice");
            return (Criteria) this;
        }

        public Criteria andCutCountIsNull() {
            addCriterion("cut_count is null");
            return (Criteria) this;
        }

        public Criteria andCutCountIsNotNull() {
            addCriterion("cut_count is not null");
            return (Criteria) this;
        }

        public Criteria andCutCountEqualTo(Long value) {
            addCriterion("cut_count =", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountNotEqualTo(Long value) {
            addCriterion("cut_count <>", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountGreaterThan(Long value) {
            addCriterion("cut_count >", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountGreaterThanOrEqualTo(Long value) {
            addCriterion("cut_count >=", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountLessThan(Long value) {
            addCriterion("cut_count <", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountLessThanOrEqualTo(Long value) {
            addCriterion("cut_count <=", value, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountIn(List<Long> values) {
            addCriterion("cut_count in", values, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountNotIn(List<Long> values) {
            addCriterion("cut_count not in", values, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountBetween(Long value1, Long value2) {
            addCriterion("cut_count between", value1, value2, "cutCount");
            return (Criteria) this;
        }

        public Criteria andCutCountNotBetween(Long value1, Long value2) {
            addCriterion("cut_count not between", value1, value2, "cutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountIsNull() {
            addCriterion("last_cut_count is null");
            return (Criteria) this;
        }

        public Criteria andLastCutCountIsNotNull() {
            addCriterion("last_cut_count is not null");
            return (Criteria) this;
        }

        public Criteria andLastCutCountEqualTo(Long value) {
            addCriterion("last_cut_count =", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountNotEqualTo(Long value) {
            addCriterion("last_cut_count <>", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountGreaterThan(Long value) {
            addCriterion("last_cut_count >", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountGreaterThanOrEqualTo(Long value) {
            addCriterion("last_cut_count >=", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountLessThan(Long value) {
            addCriterion("last_cut_count <", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountLessThanOrEqualTo(Long value) {
            addCriterion("last_cut_count <=", value, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountIn(List<Long> values) {
            addCriterion("last_cut_count in", values, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountNotIn(List<Long> values) {
            addCriterion("last_cut_count not in", values, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountBetween(Long value1, Long value2) {
            addCriterion("last_cut_count between", value1, value2, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andLastCutCountNotBetween(Long value1, Long value2) {
            addCriterion("last_cut_count not between", value1, value2, "lastCutCount");
            return (Criteria) this;
        }

        public Criteria andCutPriceIsNull() {
            addCriterion("cut_price is null");
            return (Criteria) this;
        }

        public Criteria andCutPriceIsNotNull() {
            addCriterion("cut_price is not null");
            return (Criteria) this;
        }

        public Criteria andCutPriceEqualTo(BigDecimal value) {
            addCriterion("cut_price =", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceNotEqualTo(BigDecimal value) {
            addCriterion("cut_price <>", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceGreaterThan(BigDecimal value) {
            addCriterion("cut_price >", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cut_price >=", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceLessThan(BigDecimal value) {
            addCriterion("cut_price <", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cut_price <=", value, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceIn(List<BigDecimal> values) {
            addCriterion("cut_price in", values, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceNotIn(List<BigDecimal> values) {
            addCriterion("cut_price not in", values, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cut_price between", value1, value2, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andCutPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cut_price not between", value1, value2, "cutPrice");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNull() {
            addCriterion("finish_time is null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNotNull() {
            addCriterion("finish_time is not null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeEqualTo(Date value) {
            addCriterion("finish_time =", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotEqualTo(Date value) {
            addCriterion("finish_time <>", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThan(Date value) {
            addCriterion("finish_time >", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("finish_time >=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThan(Date value) {
            addCriterion("finish_time <", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThanOrEqualTo(Date value) {
            addCriterion("finish_time <=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIn(List<Date> values) {
            addCriterion("finish_time in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotIn(List<Date> values) {
            addCriterion("finish_time not in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeBetween(Date value1, Date value2) {
            addCriterion("finish_time between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotBetween(Date value1, Date value2) {
            addCriterion("finish_time not between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andBargainStatusIsNull() {
            addCriterion("bargain_status is null");
            return (Criteria) this;
        }

        public Criteria andBargainStatusIsNotNull() {
            addCriterion("bargain_status is not null");
            return (Criteria) this;
        }

        public Criteria andBargainStatusEqualTo(String value) {
            addCriterion("bargain_status =", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusNotEqualTo(String value) {
            addCriterion("bargain_status <>", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusGreaterThan(String value) {
            addCriterion("bargain_status >", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusGreaterThanOrEqualTo(String value) {
            addCriterion("bargain_status >=", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusLessThan(String value) {
            addCriterion("bargain_status <", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusLessThanOrEqualTo(String value) {
            addCriterion("bargain_status <=", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusLike(String value) {
            addCriterion("bargain_status like", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusNotLike(String value) {
            addCriterion("bargain_status not like", value, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusIn(List<String> values) {
            addCriterion("bargain_status in", values, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusNotIn(List<String> values) {
            addCriterion("bargain_status not in", values, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusBetween(String value1, String value2) {
            addCriterion("bargain_status between", value1, value2, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andBargainStatusNotBetween(String value1, String value2) {
            addCriterion("bargain_status not between", value1, value2, "bargainStatus");
            return (Criteria) this;
        }

        public Criteria andGenerationModeIsNull() {
            addCriterion("generation_mode is null");
            return (Criteria) this;
        }

        public Criteria andGenerationModeIsNotNull() {
            addCriterion("generation_mode is not null");
            return (Criteria) this;
        }

        public Criteria andGenerationModeEqualTo(String value) {
            addCriterion("generation_mode =", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeNotEqualTo(String value) {
            addCriterion("generation_mode <>", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeGreaterThan(String value) {
            addCriterion("generation_mode >", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeGreaterThanOrEqualTo(String value) {
            addCriterion("generation_mode >=", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeLessThan(String value) {
            addCriterion("generation_mode <", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeLessThanOrEqualTo(String value) {
            addCriterion("generation_mode <=", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeLike(String value) {
            addCriterion("generation_mode like", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeNotLike(String value) {
            addCriterion("generation_mode not like", value, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeIn(List<String> values) {
            addCriterion("generation_mode in", values, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeNotIn(List<String> values) {
            addCriterion("generation_mode not in", values, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeBetween(String value1, String value2) {
            addCriterion("generation_mode between", value1, value2, "generationMode");
            return (Criteria) this;
        }

        public Criteria andGenerationModeNotBetween(String value1, String value2) {
            addCriterion("generation_mode not between", value1, value2, "generationMode");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIsNull() {
            addCriterion("user_address_id is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIsNotNull() {
            addCriterion("user_address_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdEqualTo(Long value) {
            addCriterion("user_address_id =", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotEqualTo(Long value) {
            addCriterion("user_address_id <>", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdGreaterThan(Long value) {
            addCriterion("user_address_id >", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_address_id >=", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdLessThan(Long value) {
            addCriterion("user_address_id <", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdLessThanOrEqualTo(Long value) {
            addCriterion("user_address_id <=", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIn(List<Long> values) {
            addCriterion("user_address_id in", values, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotIn(List<Long> values) {
            addCriterion("user_address_id not in", values, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdBetween(Long value1, Long value2) {
            addCriterion("user_address_id between", value1, value2, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotBetween(Long value1, Long value2) {
            addCriterion("user_address_id not between", value1, value2, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIsNull() {
            addCriterion("platform_no is null");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIsNotNull() {
            addCriterion("platform_no is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformNoEqualTo(String value) {
            addCriterion("platform_no =", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotEqualTo(String value) {
            addCriterion("platform_no <>", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoGreaterThan(String value) {
            addCriterion("platform_no >", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoGreaterThanOrEqualTo(String value) {
            addCriterion("platform_no >=", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLessThan(String value) {
            addCriterion("platform_no <", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLessThanOrEqualTo(String value) {
            addCriterion("platform_no <=", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLike(String value) {
            addCriterion("platform_no like", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotLike(String value) {
            addCriterion("platform_no not like", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIn(List<String> values) {
            addCriterion("platform_no in", values, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotIn(List<String> values) {
            addCriterion("platform_no not in", values, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoBetween(String value1, String value2) {
            addCriterion("platform_no between", value1, value2, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotBetween(String value1, String value2) {
            addCriterion("platform_no not between", value1, value2, "platformNo");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}